﻿using AutoMapper;
using Pay.DTO;
using Pay.IService;

namespace Pay.Service {
	public class BaseAutoMapper {
		private ISettingService _iSettingService;
		protected setting_dto setting;
		protected IMapperConfigurationExpression _cfg;
		public BaseAutoMapper(IMapperConfigurationExpression cfg) {
			_cfg = cfg;
			_iSettingService = Core.IocHelper.Get<ISettingService>();
			setting = _iSettingService.Get();
		}
	}
}
